The Dreamweaver JavaScript API > Layer and image map functions > dom.align()

 

dom.align()

Availability

Dreamweaver 3.0

Description

Aligns the selected layers or hotspots left, right, top, or bottom.

Arguments

alignDirection

alignDirection is the edge on which the layers or hotspots should be aligned—"left", "right", "top", or "bottom".

Returns

Nothing.

Enabler

dom.canAlign()